package oakclub.global;

import oakclub.entity.ContextEntity;

public class Context
{
    private static ThreadLocal<ContextEntity> tContext;

    static
    {
        tContext = new ThreadLocal<>();
    }

    public static void set(ContextEntity context)
    {
        tContext.set(context);
    }

    public static ContextEntity get()
    {
        return tContext.get();
    }
}
